package liportest;

import lombok.Data;

@Data
public class ResponseEntity<T>  {
    String errorCode;
    String message;
    public ResponseEntity() {
    }

    public ResponseEntity(T data) {
        this.data = data;
    }

    public ResponseEntity(String errorCode) {
        this.errorCode = errorCode;
    }

    public ResponseEntity(String errorCode, String msg) {
        this.errorCode = errorCode;
        this.message = msg;
    }

    private T data;
}
